package com.eric.domain.po;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 项目信息表
 * </p>
 *
 * @author 新哥
 * @since 2024-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("projectinfo")

public class ProjectInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /*
    * 组件Id,自增、非空、唯一
    * */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    /*
    * 项目名称
    * */
    @TableField("name")
    private String name;


    /*
    * 项目联系人（一般是项目负责人）
    * */
    @TableField("contact")
    private String contact;

    /*
    * 联系电话
    * */
    @TableField("phone")
    private String phone;

    /*
    * 项目地址
    * */
    @TableField("address")
    private String address;

    /*
    * 描述、备注
    * */
    @TableField("description")
    private String description;

    @TableField("version")
    @Version
    private Integer version;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;

    @TableField("status")
    private Integer status;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField("create_by")
    private String createBy;

    @TableField("last_update_by")
    private String lastUpdateBy;


}
